package com.bwie.bwedu.model;

import com.bwie.bwedu.bean.response.MainInfoResponse;

/**
 * Created by zhang on 2016/7/22.
 */
public interface WaittingConfirmFragmentModel{
    public void http(String flag, String  pn,Listener listener);
    public void Invalidhttp(String id,InvalidListener invalid);
    void valid(String id,ValidListener listener);
    public interface InvalidListener{
        public void invalidsuccess(MainInfoResponse userResponse);
        public void invaliderror(String info);
    }
    public interface Listener{
        public void success(MainInfoResponse userResponse);
        public void error(String info);
    }
    public interface ValidListener{
        public void validsuccess();
        public void validerror(String info);
    }
}
